export interface ProjectConfig {
  openKeepAlive: boolean;
  theme: Theme;
  layoutHeader: {bgColor: string; color: string};
  menu: {bgColor?: string; width: number};
  logo: {img: {width: string; height: string; logo: string}; title: {text: string; color: string; fontSize: string}};
  multiTabsSetting: MultiTabsSetting;
  canEmbedIFramePage: boolean;
  useErrorHandle: boolean;
  transitionSetting: TransitionSetting;
}

export interface MultiTabsSetting {
  cache: boolean;
  show: boolean;
  canDrag: boolean;
  showQuick: boolean;
  showRedo: boolean;
  showFold: boolean;
}

export interface TransitionSetting {
  enable: boolean;
  basicTransition: RouterTransitionEnum;
  openPageLoading: boolean;
  openNProgress: boolean;
}

export enum RouterTransitionEnum {
  ZOOM_FADE = 'zoom-fade',
  ZOOM_OUT = 'zoom-out',
  FADE_SIDE = 'fade-slide',
  FADE = 'fade',
  FADE_BOTTOM = 'fade-bottom',
  FADE_SCALE = 'fade-scale'
}
